package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 审核记录
 * </p>
 *
 * @author hpiggy
 * @since 2024-11-27
 */
@TableName("adms_recruit_audit_log")
@ApiModel(value = "RecruitAuditLog对象", description = "审核记录")
@Data
public class RecruitAuditLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("简历id")
    private Long recruitId;

    @ApiModelProperty("type为1时：1已处理	type为2时：1已邀约，2已到，3中止")
    private Integer status;

    @ApiModelProperty("1是否通过记录，2为邀约记录，3拒面或者约面")
    private Integer type;

    private String content;

    @ApiModelProperty("审核人id,系统审核为0")
    private Long auditId;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
